<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            background-color: black;
            margin: 0;
            padding: 0;
        }
        .ring{
            width: 150px;
            height: 150px;
            position:absolute;
            top:50%;
            left:50%;
            transform: translate(-50%,-50%);
            
            background-color: transparent;
            /* border: 3px solid gray; */
            border-radius: 50%;
            text-align: center;
            line-height: 150px;
            font-family: sans-serif;
            font-size: 20px;
            color: #fff000;
            letter-spacing: 4px;
            text-transform: uppercase;
            text-shadow: 0 0 10px #fff000;
            box-shadow: 0 0 20px rgba(0,0,0,.5);
        }
       
        .ring::before{
            content: '';
            position: absolute;
            top:-3px;
            left:-3px;
            width: 100%;
            height: 100%;
            border:3px solid transparent;
            border-top:3px solid red;
            border-right: 3px solid #fff000;
            border-bottom: 3px solid blue;
            border-left: 3px solid green;
            border-radius: 50%;
            animation: animateCircle 2s linear infinite;;
        }
        span{
            display: block;
            border: 1px solid red;
            position: absolute;
            top:calc(50%);
            left:50%;
            width: 50%;
            height: 4px;
            background:transparent;
            transform-origin: left;
            animation: animate 2s linear infinite;;
        }

        span::before{
            content: '';
            position: absolute;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #fff000;
            top:-6px;
            right: -8px;
            box-shadow: 0 0 20px #fff000;
        }

        @keyframes animate{
            0%{
                transform: rotate(45deg);
            }
            100%{
                transform: rotate(405deg);
            }
        }
        @keyframes animateCircle{
            0%{
                transform: rotate(0deg);
            }
            100%{
                transform: rotate(360deg);
            }
        }
    </style>
</head>
<body>
    <div class="ring">
        Loading
        <span></span>
    </div>
    
</body>
</html>